package com.jie.clients;

import com.jie.utility.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("userservice")
public interface UserAddressClient {
    @GetMapping("/address/findById")
    UserAddress findById(@RequestParam("id")Integer id);
}
